package org.spruice;

/**
 * User: mrettig
 * Date: Feb 7, 2009
 * Time: 8:16:16 PM
 */
public class EngineFactory {

    public Engine create(int horsePower, String name) {
        Engine e = new Engine();
        e.setHorsepower(horsePower);
        e.setName(name);
        return e;
    }
}
